.menu-back {
  position: fixed;
  z-index: 30;
  left: 10px;
  top: 10px;
  height: 40px;
  width: 40px;
  background-color: #3cc76a;
  border-radius: 50%;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  transition: transform 0.1s, background-color 0.1s;
}
.menu-burger {
  position: fixed;
  z-index: 30;
  right: 10px;
  top: 10px;
  height: 30px;
  width: 30px;
  // background-color: #3cc76a;
  background-color:  #aaa;
  border-radius: 50%;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  transition: transform 0.3s, background-color 0.3s;
}
.menu-burger .nav-icon {
  /* icon created in CSS */
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  transform: translateX(-50%) translateY(-50%);
  width: 22px;
  height: 2px;
  background-color: #fff;
}
.menu-burger .nav-icon::before, .menu-burger .nav-icon:after {
  /* upper and lower lines of the menu icon */
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: inherit;
  /* Force Hardware Acceleration in WebKit */
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.1s, width 0.1s, top 0.1s;
}
.menu-burger .nav-icon::before {
  transform-origin: right top;
  transform: translateY(-6px);
}
.menu-burger .nav-icon::after {
  transform-origin: right bottom;
  transform: translateY(6px);
}
.no-touch .menu-burger:hover .nav-icon::after {
  top: 2px;
}
.no-touch .menu-burger:hover .nav-icon::before {
  top: -2px;
}
.menu-burger svg {
  position: absolute;
  top: 0;
  left: 0;
}
.menu-burger circle {
  /* circle border animation */
  transition: stroke-dashoffset 0.2s 0s;
}
.navigation-is-open .menu-burger {
  /* rotate trigger when navigation becomes visible */
  transform: rotate(180deg);
}
.navigation-is-open .menu-burger .nav-icon::after,
.navigation-is-open .menu-burger .nav-icon::before {
  /* animate arrow --> from hamburger to arrow */
  width: 50%;
  transition: transform 0.3s, width 0.3s;
}
.navigation-is-open .menu-burger .nav-icon::before {
  transform: rotate(45deg);
}
.navigation-is-open .menu-burger .nav-icon::after {
  transform: rotate(-45deg);
}
.no-touch .navigation-is-open .menu-burger:hover .nav-icon::after, .no-touch .navigation-is-open .menu-burger:hover .nav-icon::before {
  top: 0;
}
.navigation-is-open .menu-burger circle {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.2s 0.3s;
}

@media screen and (min-width: 1224px) {
  .menu-burger {
    top: 40px;
  }
}

.navbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  text-align: center;
  visibility: hidden;
  background-color: #0d0d0d;
  transition: visibility 0s 0.5s;
}
.navbar .navigation-wrapper {
  height: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 5% 16%;
  text-align: center;
  vertical-align: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  transform: translateY(-50%);
  transition: transform 0.4s;
  transition-timing-function: cubic-bezier(0.86, 0.01, 0.77, 0.78);
}
.navigation-is-open .navbar {
  visibility: visible;
  transition: visibility 0s 0s;
}
.navigation-is-open .navbar .navigation-wrapper {
  transform: translateY(0);
  transition: transform 0.3s;
  transition-timing-function: cubic-bezier(0.82, 0.01, 0.77, 0.78);
}
.navbar h2 {
  position: relative;
  margin-bottom: 1.7em;
  font-size: 1.3rem;
  font-weight: 800;
  color: #34b55f;
  text-transform: uppercase;
}
.navbar h2::after {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -30px;
  bottom: -20px;
  height: 1px;
  width: 60px;
  background-color: currentColor;
}
.navbar .primary-nav {
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}
.navbar .primary-nav li {
  list-style-type: none;
  margin: 1.6em 0;
}
.navbar .primary-nav a {
  font-size: 1.4rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  display: inline-block;
}
.navbar .primary-nav a.selected {
  color: #fff;
}
.no-touch .navbar .primary-nav a:hover {
  color: #fff;
}
@media screen and (min-width: 1224px) {
  .navbar .navigation-wrapper {
    padding: 62px 20%;
  }
  .navbar .navigation-wrapper::after {
    clear: both;
    content: "";
    display: table;
  }
  .navbar .primary-nav {
    margin-top: 0;
  }
  .navbar h2 {
    font-size: 1.6rem;
    margin-bottom: 5.6em;
  }
  .navbar .primary-nav li {
    margin: 2em 0;
  }
  .navbar .primary-nav a {
    font-size: 2rem;
  }
}
